package cn.edu.zut.service;

import cn.edu.zut.domain.Notice;

import java.util.List;

public interface NoticeService {

    public void add(Notice notice);

    public void deleteById(int _id);

    public void update(Notice notice);

    public List<Notice> findAll();

    public Notice findByNoticeId(int _id);

    public int findEmptyNoticeId();

    public List<Notice> findByTitle(String title);
}
